home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
pbm
/
netpbm1.lha
/
netpbm
/
stamp-date.amiga
< prev
next >
Wrap
Text File
|
1993-12-01
|
1KB
|
31 lines
.bra {
.ket }
;
; Copyright (C) 1993 by Ingo Wilken
;
; Permission to use, copy, modify, and distribute this software and its
; documentation for any purpose and without fee is hereby granted, provided
; that the above copyright notice appear in all copies and that both that
; copyright notice and this permission notice appear in supporting
; documentation. This software is provided "as is" without express or
; implied warranty.
;
; This shell script creates a file called "compile.h" which holds
; a define stating the compilation time. This is used for the -version
; flag.
;
set OUTFILE compile.h
set DATE `date`
if "$USER" eq "*$USER"
set USER "unknown"
endif
echo "/** compile.h This file tells the package when it was compiled **/" > $OUTFILE
echo "/** DO NOT EDIT - THIS FILE IS MAINTAINED AUTOMATICALLY **/" >> $OUTFILE
echo "#define COMPILE_TIME *"$DATE*"" >> $OUTFILE
echo "#ifndef COMPILED_BY" >> $OUTFILE
echo "#define COMPILED_BY *"$USER*"" >> $OUTFILE
echo "#endif" >> $OUTFILE